#include <STC15F2K60S2.H>
#include "juzhen.h"

unsigned char KeyNum;

void main()
{
	P2 = 0xA0; P0 = 0x00; P2 = 0x80; P0 = 0xFF;		//初始化
	while(1)
	{
		KeyNum = KeyJZ_16();
		if(KeyNum != 0)
		{
			P00 = !P00;	//每次按键按下P00状态都会取反
		}
			
	}
}
